.class Lcom/nemustech/regina/ReginaLauncherSettings$11;
.super Ljava/lang/Object;
.source "ReginaLauncherSettings.java"

# interfaces
.implements Landroid/preference/Preference$OnPreferenceClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/ReginaLauncherSettings;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ReginaLauncherSettings;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ReginaLauncherSettings;)V
    .locals 0
    .parameter

    .prologue
    .line 346
    iput-object p1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$11;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPreferenceClick(Landroid/preference/Preference;)Z
    .locals 3
    .parameter "preference"

    .prologue
    const/4 v2, 0x1

    .line 349
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$11;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$800(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "regina.launcher.restart"

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    .line 350
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$11;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$800(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 351
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$11;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncherSettings;->finish()V

    .line 352
    return v2
.end method
